import java.io.IOException;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Vector;


public class Serveur {
	
	final static int portNumber=1045;
	static ServerSocket server;				
	
	
	public static void main(String args[]) {		
		
		try		
		{					
			server = new ServerSocket(portNumber);					
		}			
		catch (IOException e) { System.out.println(e); }
		
		while(true){
			
			try
			{				
				new RequeteHTTPThread(server.accept());
			} 
			catch (IOException e) { e.printStackTrace(); }
			
		}		
		
	}	
	

}
